﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Model
{
    public class Account:DomainEntity<int>
    {
        public Account()
        {
            this.RightDenieds = new List<DeniedRight>();
        }
        public virtual string UserName { get; set; }
        public virtual string Password { get; set; }
        public virtual bool Actived { get; set; }
        public virtual Role Role { get; set; }
        public virtual IList<DeniedRight> RightDenieds { get; protected set; }
        public virtual bool IsLogin { get; set; }
        public virtual DateTime LastLoginDate { get; set; }
        public virtual DateTime LastLogoutDate { get; set; }
    }
}
